import std;

var RED : Color = (224, 0, 0);
var DARK_BLUE : Color = (0, 0, 128);

var s = HiScreen(800, 600);

record Ball {
    c : Circle;
    vx : Int;
    vy : Int;
}

var c = Circle(400, 300, 50, RED);
var b = Ball(c, 5, 3);
var r = Rectangle(500, 100, 200, 100, DARK_BLUE);

s.run(b.c.draw |> r.draw);
